#parse("admin/inc/contentleft.html")
<script type="text/javascript"
	src="$thiscontextpath/ckeditor/ckeditor.js">
</script>
<div id="center-column">
	<div class="top-bar">
		<a href="new" class="button">增加 资讯 </a>
		<h1>
			Contents
		</h1>
		<div class="breadcrumbs">
			<a href="#">Homepage</a> /
			<a href="#">Contents</a>
		</div>
	</div>
	<br />
	<div class="select-bar">

	</div>
	<div class="table">
		<img src="../../img/bg-th-left.gif" width="8" height="7" alt=""
			class="left" />
		<img src="../../img/bg-th-right.gif" width="7" height="7" alt=""
			class="right" />
		<table class="listing form" cellpadding="0" cellspacing="0">
			<form name="editnews" id="editnews" method="post" action="../save">
				<input type="hidden" name="newsId" value="${entity.newsId}" />
				<tr>
					<th class="full" colspan="2">
						增加项
					</th>
				</tr>
				<tr>
					<td class="first" width="172">
						<strong>资讯标题</strong>
					</td>
					<td class="last">
						<INPUT type="text" class=text name=newsTitle
							value="${entity.newsTitle}">
					</td>
				</tr>




				<tr>
					<td class="first"">
						<strong>所属类型</strong>
					</td>
					<td class="last">
						

						<select style="width: 65%" name="newsTypeId"
							value="${entity.newsTypeId}">
							#if( $newstypelist.size() > 0) #foreach ( $data in ${newstypelist})
							#if($!{entity.newsTypeId}==$!{data.newsTypeId})
							#set ($ifselect1 ="selected") 
							<option value='${data.newsTypeId}' $!{ifselect1}>
							${data.newsTypeName}
							</option>
							#else 
							<option value='${data.newsTypeId}' >
							${data.newsTypeName}
							</option>
							#end
							
							#end #end

						</select>
					</td>
				</tr>
				<tr>
					<td class="first"">
						<strong>资讯内容</strong>
					</td>
					<td class="last">
						<textarea id="TextArea1" cols="15" rows="8" class="ckeditor"
							name="newsBody">$!{entity.newsBody}</textarea>

					</td>
				</tr>



				<tr>
					<td>
						<input type="submit" value="保 存" />
			</form>
			</td>
			</tr>
		</table>
		<p>
			&nbsp;
		</p>
	</div>
</div>
<div id="right-column">
	<strong class="h">INFO</strong>
	<div class="box">
		Detect and eliminate viruses and Trojan horses, even new and unknown
		ones. Detect and eliminate viruses and Trojan horses, even new and
	</div>
</div>
</div>
<div id="footer"></div>
</div>


</body>
</html>
